﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using StaffWarsFm.Properties;

namespace StaffWarsFm.Server
{
    public static class ServerAddressGenerator
    {
        public static Uri GenerateServerAddress(string hostName)
        {
            var uriText = string.Format("net.tcp://{0}:{1}/StaffWarsFm/RadioService",
                hostName,
                Settings.Default.ServerPort);

            return new Uri(uriText);
        }
    }
}
